package com.apes.fn.server.workDesk.repository;

import com.apes.fn.server.workDesk.model.WorkDeskConfig;
import com.apes.framework.jpa.repository.CustomRepository;

import java.util.List;

/**
 * @program: apes-server
 * @description:
 * @author: czs
 * @create: 2022-07-27 15:34
 **/
public interface WorkDeskConfigRepository extends CustomRepository<WorkDeskConfig, String> {

    List<WorkDeskConfig> findAllByTypeAndValidIsTrueOrderByIdAsc(String type);

    WorkDeskConfig findByType(String type);
}
